﻿using System;
using SimpleServiceBus.Messages.Management.Monitoring;

namespace SimpleServiceBus.Endpoint.Management.Monitoring.Server
{
    public class EndpointStatusSummaryEventArgs : EventArgs
    {
        public EndpointStatusSummaryEventArgs(EndpointStatusSummaryNotification statusSummary)
        {
            if (statusSummary == null)
                throw new ArgumentNullException("statusSummary");
            StatusSummary = statusSummary;
        }
        public EndpointStatusSummaryNotification StatusSummary { get; set; }
    }
}